/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package batailledesardennes.entities.common;

import batailledesardennes.util.geomFloat.Point;

/**
 *
 * @author cghislai
 */
public class EntityFactory {

    private static String imagePath = "batailledesardennes/assets/image/common/";

    public static Tree buildTree() {
        String filePaths[] = new String[4];
        for (int i=0;i<4;i++) {
            filePaths[i] = imagePath+"tree/tree1_"+i+".png";
        }
        Point offset = new Point(-23, -59);
        Tree tree = new Tree(filePaths, offset, Constants.TREE_ID_TYPE1);
        return tree;
    }
}
